package com.arcblock.demo.entity

import retrofit2.Call
import retrofit2.http.GET

/**
 * 实体类
 */

data class Frontmatter(var frontmatter: FrontmatterBean)

/**
 * @title:标题
 * @banner:展示图
 * @date:日期
 * @path:访问相对路径
 * @categories 分类
 * @tags 标签
 * @language 语言
 * @draft 预留字段
 */
data class FrontmatterBean(var title: String, var banner: Banner, var date: String,
                           var path: String, var categories: List<String>,
                           var tags: List<String>,var language: String,var draft:String)


/**
 * @childImageSharp banner实体
 */
data class Banner(var childImageSharp: ChildImageSharp)

/**
 * @fixed 路径实体
 */
data class ChildImageSharp(var fixed: Fixed)

/**
 * @src 图片相对路径
 */
data class Fixed(var src: String)
